package com.fgba.express.comm.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;

@AllArgsConstructor
@NoArgsConstructor
public enum  RequestForm {
    /**
     *
     */
    WECHAT(0, "wx"), CUSTOM(1, "custom");

    @EnumValue
    private Integer code;
    @JsonValue
    private String name;

    public Integer getCode() {
        return code;
    }

    public String getName() {
        return name;
    }
}

